package com.example.canteen.service;

import com.example.canteen.dto.CategoryDTO;

import java.util.Set;

public interface CategoryService {
    Set<CategoryDTO> getAllCategories();
    void deleteCategoryByName(String name);
    Long addCategory(CategoryDTO categoryDTO);
    CategoryDTO updateCategory(long id, String name);
}
